<script type="text/javascript">
	$(function() {
		$("#datepicker,#datepicker2").datepicker({
			dateFormat: 'dd/mm/yy'
			});
		
	});
	</script>
<?php
$form=$this->beginWidget('CActiveForm',array(
            'action'=>Yii::app()->createUrl($this->route),
            'method'=>'get',
));
?>
<div class="block">
    <div class="input_group">

        <?php echo CHtml::label('Bulan', 'month'); ?>
	<?php
	$month_arr=array(1=>'January','February','March','April','Mei','June','July','August','September',
			 'October','November','December');
	echo CHtml::dropDownList('month',(isset($_GET['month']) AND is_numeric($_GET['month']))?$_GET['month']:'',$month_arr);
	?>
	<?php echo CHtml::label('Tahun', 'years'); ?>
        <?php
	$year_start=2009;
	$year_end=date('Y');
	for($i=$year_start;$i<=$year_end;$i++)
	{
		$year_arr[$i]=$i;
	}
        echo CHtml::dropDownList('years',(isset($_GET['years']) AND is_numeric($_GET['years']))?$_GET['years']:'',$year_arr);
        ?>


     
    </div>

    <button class="button_colour round_all"><img height="24" width="24" alt="Bended Arrow Right" src="<?php echo Yii::app()->params['backendUrl']; ?>/images/icons/small/white/bended_arrow_right.png"><span>Cari</span></button>
</div>
<?php $this->endWidget(); ?>

<!-- search-form -->
